Thanks for your query.Your boyfriend ia passing green color pus in urine since 2 wees.Though he had history of passing pus in urine 2 years back this episode is not related to old one and should be taken as a fresh episode of UTI.Please get following test done to confirm the same..
1) Routine Urine examination
2) Gram staining of the pus that is being discharge through Urethra
3) Urine culture and sensitivity.
These test will help to conclude the nature of Organisms responsible for infection and in deciding the appropriate antibiotic to be taken. In the mean while he can start taking antibiotic like Ciprofloxacin
twice daily and once he gets his Urine culture .report switch on to the antibiotic as per sensitivity report..