added parse functionality and a submit session button at the end