also logout after login