working api

this should be a working version of the website