Refactoring sign in screen