registration plugin & user permission