users can now logout properly