Re-organized API routes, tested it with the registration test and My Orders page.  Also tweaked SU mode
Added an Options route for login to deal with stupid pre-flight request
Moved stuff around, trying to add white-list but it didn't work
Changed indenting, and also fixed an old typo (how was it working?).. Also, set it to return to home if not logged in
Changed ping to a post
Removed some debug
Put a default route on the / for ping.. More changes for login