Initialize password functionality