fixed path after admin logs in
fixed the flow after login, and fixed tests