added Log-in feature