can register and login
add sessionModel and javascript