added signup and logout flow