The database is working now. It stores everything perfectly now