Added some nil checks
Reworked so that the server doesn't expire a cookie, but instead just removes the token
Added function to retrieve a sessionType (group of sessions) by the type name
Made randString thread safe
Changed sessionType wording to SessionGroup; reorganized file.