Forgot what I did here
Fixed login redirect, and url generation for posts