added login, logout, editor view