added ssl routing for users