Database is now opening, but can't store data passed from the user