dummy login partly implemented