fix optionalCallback error on login
clean up spacing and add firebase.json after deploying app