lib/storeRedis.js
function( userID ) {

		var id = curId;

		curId++;

		if( curId == Number.MAX_VALUE )
			curId = Number.MIN_VALUE;

		roomUsers[ id ] = [];

		return this.setRoomData( id, {} )
			   .then( this.joinRoom.bind( this, userID, id ) )
			   .then( function() {

			   		return id;
			   });
	}
function( userID ) {

		var id = curId;

		curId++;

		if( curId == Number.MAX_VALUE )
			curId = Number.MIN_VALUE;

		roomUsers[ id ] = [];

		return this.setRoomData( id, {} )
			   .then( this.joinRoom.bind( this, userID, id ) )
			   .then( function() {

			   		return id;
			   });
	}
function ( userID ) { var id = curId ; curId ++ ; if ( curId == Number . MAX_VALUE ) curId = Number . MIN_VALUE ; roomUsers [ id ] = [ ] ; return this . setRoomData ( id , { } ) . then ( this . joinRoom . bind ( this , userID , id ) ) . then ( function ( ) { return id ; } ) ; }
This will create a roomID, roomDataObject, and users array for the room

@return {Promise} This promise will return a room id once the room is created
This will create a roomID roomDataObject and users array for the room