Edited sql query in addUser() in Projectgroup.