Half working login page