[Ayanga & Dan] added jquery database validation for group creation