Appending time and name to messages. Added a helper function for getting the current time 24hr