Load the scripts only logged-in.