Adde redirect to application page on successful login. Added nonce library. Optimized ARD. Set some session variables.