Session establishment (login and auth)

Completed session establishment (login, authentication, session
application)