adding edit functionality to signed in users