changed moodlog to moodlogin