picture upload dir according user_id
add js to trim input text before submit