Add Login and logout.