login in proto state
cleanup