copied login and logout files