Adding application and profile controller and a first stab at a layout template.
Implements myusa user authentication with basic, session-based login.
Resolves conflicts.