added carrierwave for avatar. styled jquery flash messages