book post functionality