Made changes to align code with database for table field userID