add login
Merge remote-tracking branch 'origin/master'
added session handling