added ability to add an entry into the database