Trying a new approach to html/api controllers with Login