refactored routes, authentication and configuration