Login middletier done at common/middletier