seperate login and home controller