Fixed list courses and refactor entitie relashionships
Refactor Entities
Improved login page and contoller, flow handler