fixing default stuff
adding error log to api (Along with admin error log display)