Changed controllers so api can take in GET request and spit out stuff.