Implemented the cookie destroy on logout, performed output cleanup and added form elements.

I believe there is a problem with the session class' method getExpires.
Right now the value 600 that we add to the cookie is actually 600ms I
think and as such we need it to be 60000, I think thats correct.