fix layout, add login and logout actions