added stats user per project and refactored returned class