Updated some security and user logging.