add friend web app (not working; error 'cannot read property 'extend' of undefined' for Friend model