update the user entity in order to prevent non active user to log in the application