Account JS added

Adding js file to manage account, and attaching it to index.html