decided proper way to handle error checking is client side and server side since an api shouldnt depend on its clients to check but yet we still want quick feedback... also refactored a bit and turned off json camelcasing