User login works finally (I think)