changed login so that user info is returned on succes