$post thing is now being used, but the problem is standing there and that is both userid and password model is showing as undefined.