Login message logic added. P2P message logic under implementation