changed routes and created users table