implemented login, logout, restricted page test