added login box to other views