add upload avatar functionality

add avatar column to database
add carrierwave uploader
add upload api