A method and system for login authentication is disclosed. The interlock mechanism includes a moveable body with a notch configured to associate a position of the moveable body with a switching of the second switch. The barrier layer is TiNi formed on the copper.