added routes and fixed migrations and models again