do not display avatar and username if logged in with local account
implemented instagram linking
account merging
refactored isAuthenticated and createToken functions
fixed account merging process
id is now instagramId and JWT token uses _id for sub property
password is now saved during merging process
removed unused link controller, handled in homectrl
query feed api only if logged in
updated link with instagram button ng-click value
prepend photos with /photo url