small tweak to edit action
uid now coming from the proper place for creation and login