load course from db on lanidng page