updated front end to include session management