fix forgot my password functionality