added logout url and routed logins to /client