database error handling
added created and accessed dates