moved order and sub controller logging into application, temporarily