Implementation for password methods