How to add an entry to a Database