Post fixes and Google Analytics code

I have made some changes with posting requiring users are logged in to make a new post. If they are not logged in they will be directed to the login page.

I have also snuck in some google analytics code.