Adds method for session creation