added code to print user interface to fetch user data
added the function to do user interface for fetching data repeatedly, still needs the proper description