Member login and redirect to specific page in silverstripe 4 base on group assigned to

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Silverstripe Version:

Question:

Details of your query go here

// Include any relevant code. If you have a lot of code, link to a gist instead.