Login script v. 1.0