add checks onm appropriate pages to make sure user is logged in