AdrianC: Finished authentication using jquery cookies; Implemented logout login