user signin and edit fixes