added selectUser(int) method