/**
 * Created by Eduardo veras on 19-Jun-16.
 * Edited by Siclait on 19-Juu-16
 */

import Entity.*;
import Service.*;

import java.util.List;

public class DatabaseManager {

    // Singleton Constructor
    private DatabaseManager(){

    }

    public static void BootDataBase(){

        List<User> users = UserORMService.GetInstance().FindAll();

        if(users.size() == 0)
        {
            System.out.println("\n\nCreating Admins ...");

            UserORMService.GetInstance().Create(new User("admin", "Administrator", "The", "admin", true));
            UserORMService.GetInstance().Create(new User("Wardo", "Eduardo", "Veras", "1234", true));
            UserORMService.GetInstance().Create(new User("EmmJ", "Emmanuel", "Jaquez", "1234", true));
            UserORMService.GetInstance().Create(new User("Djsiclait", "Djidjelly", "Siclait", "1234", true));

            System.out.println("Admins created successfully!\n");
        }
        else
            System.out.println("\n\nDatabase already created!\n");

    }

    // Database Commands
    public static boolean CheckUserCredentials(String option){ return false; }

    public static void MakeAdmin(){ }


}

@@ -1053,16 +1053,21 @@
 ase 
+root 
 Commands
 %0A   
@@ -1062,16 +1062,73 @@
 Commands
+ : Security/Authentification%0A    // Admin and Server only
 %0A    pub
@@ -1239,11 +1239,546 @@
 n()%7B %7D%0A%0A
+    public static void DeleteUser()%7B %7D%0A%0A    public static void FetchAllUsers()%7B %7D%0A%0A    // User Related Functions%0A    public static void CreateNewUser(String username, String firstName, String lastName, String password)%7B%0A%0A        UserORMService.GetInstance().Create(new User(username, firstName, lastName, password, false));%0A    %7D%0A%0A    public static void DeleteUserAccount(String username)%7B%0A%0A        UserORMService.GetInstance().Delete(UserORMService.GetInstance().Find(username));%0A    %7D%0A%0A    // TODO: Add change user password function%0A
 %0A%7D%0A

Add CreatteNewUser90 and DeleteUserAccount()