private void addButton_Click(object sender, RoutedEventArgs e)
        {
            String appli = appName.Text;

            DateTime dateTime = DateTime.Now;

            Security.Entities.Application app = new Security.Entities.Application(0, appli, null, true, dateTime, dateTime, user.User_ID, user.User_ID);

            if (ApplicationDAO.saveApplication(app))
            {
                MessageBox.Show("Application has been added", "SUCCESS");
                this.Close();
            }
            else
            {
                MessageBox.Show("Application cannot be added", "FAILURE");
            }
        }