Redirect to homepage
Add support for post-login redirect

Sending next parameter to login ensures you end up at the same page
after logging in.