Fix checking for user