Changes: Gets user record from authFunction