handling client view