changed the name of DB column 'userId' to 'user_id'