added user model to js and built out a simple user endpoint on the server
properly configured loading of accounts and user on page load