Changes after lecture 8 completed (finished login error handling)