added ability to edit addresses for both logged in users and session users