John 16:20-25 New International Version (NIV)
20 Very truly I tell you, you will weep and mourn while the world rejoices. You will grieve, but your grief will turn to joy. 21 A woman giving birth to a child has pain because her time has come; but when her baby is born she forgets the anguish because of her joy that a child is born into the world. 22 So with you: Now is your time of grief, but I will see you again and you will rejoice, and no one will take away your joy. 23 In that day you will no longer ask me anything. Very truly I tell you, my Father will give you whatever you ask in my name. 24 Until now you have not asked for anything in my name. Ask and you will receive, and your joy will be complete.
25 “Though I have been speaking figuratively, a time is coming when I will no longer use this kind of language but will tell you plainly about my Father.
Praying in the name of Jesus brings us before God on the basis of what Jesus did for us. Christ dies for our sins once for all, the just and the unjust, so that he might bring us to God. Because Jesus died for our sins and took our place, he made a way for us to come to God. Jesus is our bridge to God. We have the right of access to God through Jesus.