Refactor log in button & menu and user button & menu