refactoring session controller
add confirm registration