In order to make the application wait for a particular time interval,
You can put the thread to sleep.
Write some IF..THEN..ELSE statements and then put in this code based on various login trials.
The above code puts the thread to wait for 10 seconds without proceeding.
But this runs at the server.
People say its an ineffective way of coding but who cares, If you are happy and the
users are happy ,go ahead.
Hope it helps