added 2 more methods openSession and sessionStateChanged
tons of changes to the functionality
made some adjustments but can't get the button press to take me to auth page