debuging login porcess