added login accordint to firebase tutorial