Initial login logic added