Still struggling with adding object to database
merged changes, working on databasabase issues