Sign in method

Got the sign in method working again.