SingleTread auth and session support added