profile controller&route. few fixes.