       when 'login'
         <LoginGateway />
       when 'registration'
-        <CourseRegistration {...@props} />
+        <NewCourseRegistration {...@props} />
+      when 'second-semester-registration'
+        <NewCourseRegistration {...@props} secondSemester=true />
       when 'task'
         <Task {...@props} key='task'/>
       when 'progress'


# TODO Move this and auth logic to user model
# These views are used with an authLevel (0, 1, 2, or 3) to determine what views the user is allowed to see.
VIEWS = ['loading', 'login', 'registration', ['task', 'progress', 'profile', 'dashboard', 'registration', 'student_id'], 'logout']

ConceptCoach = React.createClass
  displayName: 'ConceptCoach'


{Task} = require '../task'
navigation = {Navigation} = require '../navigation'
NewCourseRegistration = require '../course/new-registration'
ErrorNotification = require './error-notification'
SafariWarning = require './safari-warning'
AccountsIframe = require '../user/accounts-iframe'
