adjusted routes and way in which users are saved and found