Added most functionality for forgot password. Eyes are sore now...