Phase 2 and 3 views working but not redirecting to correct page