set name variable when refreshing login info