login form is able to write to firebase