Added POST functionality with temporary in-memory database