adding a login page on main page