refactor home#index to use has_role? method