added dependencies and create firebase service