added authentication, married client-side code with profile page
Merge pull request #43 from sunny-g/master

added authentication, married client-side code with profile page