Removed login before logout