up to /post/new need to put database