try to get competencies from database