Sign in

Refactors the sign in process to validate sign in