Removes log out functionality.