web application using firebase rest api