added login with setup and regular login cases