changed files referencing localhost:3000 to the IP of the server to work with passenger.