Added getSessionID function to default functions

Generates a random ID for the client to use in order to interact with
the server.