Adding a database to keep track of entered names
Database not working