Added password functionality