Fixes #12

Did some minor code cleanup, added message_flashing with bottle-flash plugin, redirect to /login on faulty login instead of re-rendering the template with missing parameters