Check user entry in db