fixed issue #40: error on activation of user account, that not logged in