new middleware that isnt entirely functioning but will allow use to do onload verification of user id without writing it in to every function