move firebase url to a service