update checkUser funciton
removed print_r
merge