Fixed bug with forgetting password functionality