issue #9

login & logout are fixed! finally! It works!