Changed the css for hidden msgs.
fixed the apis bug that was sending json instead of object.