added portal data access layer