add login redirect and encryption