Revert "Revert "[BROKEN] Skip login page if logged in""

This reverts commit caad948d48e2b484ad6c3685647f28fe09287996.
Fix POST requests and posting images