Agree that you need to go to the doctor. UTI's are treated with antibiotics. Don't self diagnose and try to solve on your own. see your doctor as you probably need antibiotics.
I think you definitely need to see a Dr. Blood in urine could be harmless, but could also indicate something much more serious. Coffee usually does help w/ constipation but is also a bladder irritant, so that might not be the best thing for you. You can get stool softeners that contain Docusate at any pharmacy, including WalMart, that should help w/ constipation. It does sound like you have a UTI, but see a Dr. to find out whether all these symptoms are connected to something else...