password implementation

This version is only used for function of forget password implementation