added messages
added postgres
yeah that too
fixed end of input