updating admin edit feature to avoid complex login process