added registration, login, session ids, integrated createGroup()