You are quite lucky, you only have 2 cables (twin and earth) from the ceiling. What you have so far tried is wrong.
The earth wires do go to the earth terminal The two browns go to the L terminal ONE blue goes to N The other blue goes to S
What you have is a feed and a switch cable. One brown is live coming in, the other goes to the switch. By joining these two together (and to nothing else) you allow the live to flow to the switch. When the switch is operated the live now comes up a blue wire. As you have already connected the OTHER blue wire to N, the lamp will now illuminate. You are supposed to mark the switched live (blue wire) with brown marking to indicate it is switched live, but since we don't know which one it is it would be best not to mark it. (Earths omitted for clarity)
Next time you change a light, mark the cable cores with an indelible pen, and take several pictures, check you can see your markings on the cables in your pictures, they must be CLEAR. The reason is, this time you are lucky you only have 2 cables, normally it's 3 cables.
DIY how to tutorial projects and guides - Did you know we have a DIY Projects section? Well, if no, then we certainly do! Within this area of our site have literally hundreds of how-to guides and tutorials that cover a huge range of home improvement tasks. Each page also comes with pictures and a video to make completing those jobs even easier!