added login case