NullPointer checks in logout

Check if eipStatus and mProgressBar are null in logout(), and if so fetch the objects with findViewById.