check user info from db