Redirect user to login page if user is not logged in when viewing group page.