update view and fix loginPoint