Added basic session authentication