finish login_spec script