final fix for the redirecting problem with a wrong username in tasks, #78