Implemented the sign in process