added authentication on the pages and a tbl_authorizedusers and defaulted the session on a valid user