modified login layout and related activity classes