added locations controller, populated the index