Database should work fine now, except for persistence and uniqueness testing. Errors in date formatting.