added timestamp function
added timestamp column to post table