fixed bug with formatting
duh
updated the endpoint
added controller