main redirect
alert message works