removed unused method saveAvatarData()
removed unused variables
added comment with sort of an answer...
small change in user profile page
added logging
Merge branch 'user-profile-page-js-clean-up' into DAR-2560