add login interceptor and user login/logout