Added restful api for articles controller and updated articles api