working on database

current issue is saving to the database, keep getting an exception