updated views and urls for ajax requests
updated views for ajax calls