update login and logout log with best practice #61