Added user logout and remember tokens (with tests)