Add user login and logout form snippets, session wrapper