now obtains username from the UI