Added login facility and session joining