fix update base to make methods have valid args
added some controllers

added base controller and accounts controller.js