working on leave page + messaging