refactored code with new files, userdetails.html and github.js.  The latter is a custom service.