Fix routing to tasks and account pages