Shadow mapping & deferred rendering problem

I am trying to implement shadow mapping in my project in C , but for some reason nothing is in the shadow.

All code and details can be found here: glsl - Problems with using a shadow map with deferred rendering Opengl 3.3 - Stack Overflow

If someone can spot my mistake and point me in the right direction i would be very grateful!