Added password loop that works