end login style refactor