changed so that when posting there would not be a redirect loop and you can only post if you've signed in at least once