@@ -0,0 +1,442 @@
+package com.enseirb.telecom.s9.service;%0A%0Aimport java.io.Serializable;%0A%0Aimport com.enseirb.telecom.s9.db.UserDB;%0A%0Aimport sun.security.provider.certpath.OCSPResponse.ResponseStatus;%0A%0Apublic class userManager %7B%0A%09public static ResponseStatus userExist(Serializable id) %7B%0A%09%09UserDB userDatabase = new UserDB();%0A%09%09if (true == userDatabase.exists(id)) %7B%0A%09%09%09return ResponseStatus.UNAUTHORIZED;%0A%09%09%7D else %7B%0A%09%09%09return ResponseStatus.SUCCESSFUL;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create userManager file to check a user exists