/*-------------------------------------------------------------- SETTINGS --------------------------------------------------------------*/

        private void GetCurrentUser()
        {
            try
            {
                Guid userUniqueIdentifier = Properties.Settings.Default.UniqueIdentifier;

                InTimeDbEntities intimeDb = new InTimeDbEntities();

                DbSet <Person> personDbList = intimeDb.People;

                currentUser = (from Person in personDbList
                               where Person.AccessCode == userUniqueIdentifier
                               select Person).Single();
            }
            catch (Exception e)
            {
                FirstLogin firstLogin = new FirstLogin();
                firstLogin.ShowDialog();
                firstLogin.Close();
                GetCurrentUser();
            }
        }