New function added to add the member entry into the table