Ajax reset password frontend functionality implemented