initialize method optimized, remove_role method added