courses controller added, home page refactored