making call to trying to get the user logged by email