Removed unnecessary permit in find_param, removed debugging code from set_user.