Implement basic reset-password function.

This function does basic password changing and it needs more works. This function should be similar to user_pass_reset() and we may need to overwrite it so that it renders the password resetting page to our customized view.