Setting up the db with user input