[IMP] sync method added for custom methods, login database select issue solved. updated library classes