Renamed LoginController, made API responses implement IView, and updated all array()s to the shorthand notation