Changed redirection URLs
Flashed messages are now displayed