fix mutliple login attemps after login
add session log