design optimizations login