Added transaction functionality to critical sections
Added code and sql_querries to home page. Make sure to overwrite portfolio.txt with final code