Working on login, logout.