Added check user function