added the user name and change the query to find the user name