Make writeToUser() use getUser()