Completed Pre-authentication configuration page
Updated Form library to add clear() function and remove redundant bits of code.