change location for logout function