updates and logout module