Removed all login window code from template and moved to login module.
Moved the position of the login module include to the dashboard.