add function get an entity of AdminPage