added firebase support to client