Added database, login frontend, added firebase