implemented redirect for non authenticated users to groups