refactored routes
fixed signing in