basic session manager