Added persistent session to the User module.