Fix the only_if statement to check user