fix bug:wrong index in addtask;uniq add files
Merge commit 'cfc920bac0aa94f3839de6fa4f2273702b7deaea'
fix bug:crash when add torrent file
fix no login bug