Put block logic to gorest as opposed to the client app.