check user id type