small changes in session and register spec