fixed issue with profile/{username} not redirecting if the username does not exist