fix login route bug introduced from switching to named routes only
allow admin route to be configurable