Working sample of signing in