Some work on assignment2

Can now register and login to Firebase.