add admin and public attributes