Logging out is now functional