added db methods to fetch class topics and returning topic_id for tasks
added db methods to register and accept users in classes