sets session based on oath