Added pundit authorization and set elements to conditionally appear based on roles