added redirect and styling