modify login and register view UI