add cache file for role and permission;add permission in frontend;update roles assignment to user