Auto switch from home to controller page

If the deviceId is already defined in session, automatically switch from home to controller page
Change html element's custom attribute names to match html convention
Use KEYS constants in controller's template