refactored authentication module by replaing view with layout, seperation of concerns of login comms to more centralised place in the app-consoles session manager so that app-console has control of login statuses