sign in controller clean up