replaced header(location) with MessagePage