using siteutil for login, dashboard, index and logout