autor viktor
added select and chacking from login.php