implemented working sign in method and current user functionality