Don't write anything in .htaccess file and remove $route['user/(:any)'] = 'user/index'; line and one thing very important make sure in your server mod rewrite extension should me enabled.
may this help you How to enable mod_rewrite in php.ini on shared hosting