Implimented a sign in process