added check_user control