Added logout and related test
Remember me with testing