add edit preferences page