made layout for private pages