refactored avatar to use carierwave rather than paperclip
random tweaks