user edit functionality added