new version, login and sign out fixed