modifed session create method for beta