found out sqlite3 command returned a cursor. added extra step to get cursor's first row and field if it exists... which gives the username if the user input hash matches the saved hash