Updated the manner in which we handle cookies; Updated the login and logout workflow;