Added session data for rated courses in login.php