create base pages for login and sidebar