various minor improvements (IDE warnings and usability)
changes to account_service.php api and changes everywhere to match