Don't include javascript if not logged in