Fixed bugs on profile route.