changed routes from fakeDatabase to real database