Changed loginflow