select * from jb_screens where status != 'offline' select im_screen_name from jb_screens where user_id= :user_id and service = 'jabber'