Create login/logout scripts