@windowsrage "I didn't solder them back but i cleaned it and the phone works." looks like it really doesn't. I do agree 100% with your statement that this "is related to the motherboard" and most likely all originated with the water damage.
I suggest you start from scratch and treat this the way you would treat any other water damaged device.
The very first step I would take is to disassemble your phone. Use something like this video to help you disassemble your phone. I am pretty sure you already know how to do this but like to add as much detail as possible. Take a careful and close look at all components and connectors. Truly assess the damage. Look for major corrosion, evaluate the pins in the connectors etc,. Take a look at all connectors as well as cable ends. You will have to remove all the EMI shields. If you do not remove the shields, you are not cleaning the board.
To clean any gross contamination, do not use drinking water, if you need to use water, use sterile water. Once you got any gross contamination cleaned, use 90%+ isopropyl alcohol and clean your parts some more. For a proper cleaning, use this guide. It was written for an Apple iPhone 3G but it is still pertinent to your phone as well. I can not stress the importance of a good cleaning enough, so do it over and over while replacing the alcohol after each cleaning. Do not use compressed air for the cleaning since that can drive liquid as well as corrosion particles into areas that will cause trouble later on. Also, you do not need to leave it to dry for a day. Isopropyl alcohol in the higher concentration will evaporate quickly and dissipate the water.
You know that you already have corrosion on your board so the importance for you here is the cleaning. It would of course be best to get it professionally cleaned with an ultrasonic cleaner. For as long as you have not cleaned your board , everything is just a guess.
You have already told us that your board is missing at least 2 components (" knocked 2 capacitor off the board" you are sure those are capacitors?) so we would at minimum need to see where they cam off on the board. Post some really good, focused and large pictures of your complete board (both sides) and mark the location where those component were. We can try and find the right schematics (if they are available) and see which circuit those belonged to.
If you do not have the tools, or the practice to microssolder on your board, you may need to send it to a repairer that has specialized in that. Or consider replacing the complete board. You will need to make a backup of your files/data since you will lose those.
While you work on your phone, take lots of pictures. Once you are done with it, take those pictures and create a guide for iFixit. That will help the next person that has the same problem as you do. It's easy and fun to create these guides. https://ifixit.com/Guide/new The iFixit community will appreciate this.
@windowsrage that's great! Okay, we identified the reference numbers Now let's hope we can find the right schematic. This is a place holder for the info.