Cleaned up the logout script