fix exception with not being able to find url for user