wait im not sure where this code came from, add it
added encapsulated session auth class