Revert "Logout functionality"

This reverts commit f5fccbe7ce04525e0ab5b95a6b44b120ff5ff41f.