Separated out session managment from SessionModel
Added session login and registration