added now() function for mysql insert query