Database methods for userstories 11,12 work