fixed routing to profile on other pages