Login should now work; adding assertions to check that