action added for admin on main controller