wrote a program to find username and details