changed some definitions and queries
Merge branch 'master' of https://github.com/glukas/Social