check_user as Api method