added session.uid and named query and of course party hard :)