Fixed handler bug.
Added viewport and minimal-ui. Fixed checkLogin.