How to redirect returning users who previously logged in?

Maybe these links can help you:

error code: 523