add post to database and fix prof box