ability to remove an uploaded profile picture; some small refactoring and other improvements