Login form now logs user in