Added session migration definition
Implemented user login , and session handling