fix /user/name for production mode
Merge pull request #98 from mzp/fix_user_page_on_production_mode

fix /user/name for production mode