added authentication, login, logout. need now for teachers to add sessions