api on package.json, loginOrHome fn removed