implementation of builtin user check