Added redirect to main page