version 0.0.2, add login and logout