The flow chart of login system is drawn in Fig. It will check the status of pen-drive every 30 s. if the status is removed then it will delete all data password .