how to write a programg on the web application. create two modules like admin and customer. customer can registrate with user id and password. after finishing of his registration he'll get a message like this ur registration under processing. if admin logged in fist he'll see the pending registration form. if admin accept the customer will logged. if admin reject the customer get a message like ur registration discorded.