add nickname field and add group permission