sets up user to history communication
migrates to postgres and adds post to create users