check_user fixed