Added new attributes for Winston logger

Added 'function' and 'username' for Winston logger. Also cleaned up some of the log messages.