@Produces({ MediaType.APPLICATION_JSON })
@ApiOperation(value = "Get the user's settings", response = GuestSettingsModel.class)
public GuestSettingsModel getSettings(){
final long guestId = AuthHelper.getGuestId();
final Guest guest = guestService.getGuestById(guestId);
final GuestSettings settings = settingsService.getSettings(guestId);
final List<AuthorizationTokenModel> accessTokens = oAuth2MgmtService.getTokens(guestId);
GuestSettingsModel settingsModel = new GuestSettingsModel(settings, guest.username,
guest.firstname, guest.lastname, guest.registrationMethod, accessTokens);
return settingsModel;
}