Converted to raven local for the time being. Did a lot of messing around triyng to get the querying to work efficiently. Think it's right .
added paging to the friends grid