fix(client): api port, fix post request macros
feat(client): add macros for http requests
feat(client): functional login and register