created a new server file with all the different cases in our project. please write your respective code in your specified case