added redirect to alert class