database integration, working on add class modal