Redirect user to login for read/write buttons

Just a deployable quickfix for #8, it would have been nice to redirect to the intended action after the sign-in, but it's a POST and I'm not sure the neatest way to handle that.