implementing Server Controller..