routing for /login /config /edit