Revert "commit TODO"

This reverts commit a47a34bf52b77af0163ce2c0543436fccfa62f31.
Added sanitize functions to input
set login life time
made too many changes

committing so I can revert
Revert "set login life time"

This reverts commit ad5350e89c526e75e4d9c973f0c37bd361124812.
back in business
fixed update statements to actually update the database