Adds flash messages and possibility to override redirects

Fixes #27, #26