Make Login and Home page work