Secure mysql and added todo functions..