Create new solution because the old one is too messy, use new aproatch to registration and log in handlement