update create user to log. Refresh is not working