fixed edit password bugs
improved password security