RESTful API can create a group to the database now, need check_exist