Ssofix

made the loginapi route conform to the new format.