added login, view headers, time logic