fixed bug with forgetting password
removed old code