Added set password functionality.