file for secure login and logout