added logs to home
fixed bug: avatar deleted when uploading info