Object #<Object> has no method 'getEmailFromUser'