Added login session support