public Form getLoginForm() {
        Form loginForm = new Form("Welcome to Police Mobile");
        userName = new TextField("Police No", "", 30, TextField.ANY);
        password = new TextField("Password", "", 30, TextField.PASSWORD);

        login = new PCommand("Login", PCommand.SCREEN, PCommand.LOGIN, 2);
        try {
            Image imge = Image.createImage("/Police.png");
            loginForm.append(imge);
        } catch (IOException ex) {
            ex.printStackTrace();
        }
        loginForm.append(userName);
        loginForm.append(password);
        loginForm.addCommand(exit);
        loginForm.addCommand(login);
        loginForm.setCommandListener(this);
        lastDisplay = display.getCurrent();
        return loginForm;
    }