added json format for posts
added bootbox-js libraries for alerts