Half working login view