Fixed core controller name-spacing for session loading. Cleaned up login controller.