minor refactoring
login layout