Add block login and logout