added write page save/cancel button and offsite DB