Adds Login/logout. Working restart.