implemented methods that gets entities from DB in PersonDAOImpl class