login and logout now added.