added User-View.js and corrected User-API.js