Added touch pad for mobile devices and fixed login/logout issues