set some defaults when logout
switch to edit mode when create
fix usecase use editing