assign get_password as method