displays 'logged in as USERNAME' if name is not supplied