simplify sign in response and change interface with user model to be a simple function