added client side verification for home page login